﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/Modules/_LayoutDanhMucNhapLieu.cshtml";
}
<script type="text/javascript">
    function submitfrmDoiMatKhau() {
            document.forms["frmDoiMatKhau"].submit(); 
    }
</script>
<h2>
    Đổi Mật Khẩu</h2>
@using (Html.BeginForm("DoiMatKhau", "DoiMatKhau", FormMethod.Post, new { @id = "frmDoiMatKhau" }))
{ 
    
    <div style="width: 100%; height: 25px; float: left; color: Green; font-weight: bold;">
        <div style="width: 15%; height: 25px; float: left; padding-left: 30%;">
            Nhâp Mật Khẩu Cũ:
        </div>
        <div style="width: 30%; height: 25px; float: left;">
            <input type="password" name="Matkhaucu" id="Matkhaucu" style="width: 50%;" />
        </div>
    </div>
    
    <div style="width: 100%; height: 25px; float: left; color: Green; font-weight: bold;">
        <div style="width: 15%; height: 25px; float: left; padding-left: 30%;">
            Nhập Mật Khẩu Mới:
        </div>
        <div style="width: 30%; height: 25px; float: left;">
            <input type="password" name="Matkhaumoi" id="Matkhaumoi" style="width: 50%;" />
        </div>
    </div>
    
    <div style="width: 100%; height: 25px; float: left; color: Green; font-weight: bold;">
        <div style="width: 15%; height: 25px; float: left; padding-left: 30%;">
            Nhập Lại Mật Khẩu Mới:
        </div>
        <div style="width: 30%; height: 25px; float: left;">
            <input type="password" name="reMatkhaumoi" id="reMatkhaumoi" style="width: 50%;" />
        </div>
    </div> 
        
    <div style="width: 100%; height: 25px; float: left; color: Red; font-weight: bold;">
        <div style="height: 25px; float: left; padding-left: 35%;">
            @Session["ErrorMsg"]
        </div>
    </div>
               
    <div style="width: 100%; height: 25px; float: left; color: Green; font-weight: bold;">
        <div style="width: 15%; height: 25px; float: left; padding-left: 40%;">
            <a id="LinkButtonDoiMatKhau" href="javascript: document.forms[0].submit();" style="color: Black;
                font-weight: bold; text-decoration: none;" class="button">Đồng Ý </a>
            <input  type="reset" value="Nhập Lại" class="button"/>
        </div>
    </div>
}

